package pers.zh.parking.data.entity;

import com.google.gson.annotations.SerializedName;

public class Notice {
    private Integer noticeId;

    private String noticeTitle;

    private String noticeContent;

    private String publishTime;

    private Integer publishUserId;

    private boolean toDel;

    public Integer getNoticeId() {
        return noticeId;
    }

    public void setNoticeId(Integer noticeId) {
        this.noticeId = noticeId;
    }

    public String getNoticeTitle() {
        return noticeTitle == null ? "" : noticeTitle;
    }

    public void setNoticeTitle(String noticeTitle) {
        this.noticeTitle = noticeTitle;
    }

    public String getNoticeContent() {
        return noticeContent == null ? "" : noticeContent;
    }

    public void setNoticeContent(String noticeContent) {
        this.noticeContent = noticeContent;
    }

    public String getPublishTime() {
        return publishTime == null ? "" : publishTime;
    }

    public void setPublishTime(String publishTime) {
        this.publishTime = publishTime;
    }

    public Integer getPublishUserId() {
        return publishUserId;
    }

    public void setPublishUserId(Integer publishUserId) {
        this.publishUserId = publishUserId;
    }

    public boolean isToDel() {
        return toDel;
    }

    public void setToDel(boolean toDel) {
        this.toDel = toDel;
    }
}
